package site.assad.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author: Al-assad 余林颖
 * E-mail: yulinying_1994@outlook.com
 * Date: 2018/1/20 22:19
 * Description:
 */
@RestController
@EnableAutoConfiguration
public class HelloDaemon {

    @RequestMapping("/")
    public String index(){
        return "Hello World!";
    }

    public static void main(String[] args){
        SpringApplication.run(HelloDaemon.class,args);
    }
}
